package com.knife.easyexcel.write.supplier;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

/**
 * 需要将数据提供者放入spring容器
 *
 * @author： 76875
 * @date： 2022/5/26 星期四 10:26
 * @description：
 * @modifiedBy：
 * @version: 1.0
 */
public abstract class DefaultEasyExcelSpinnerDataSupplier implements EasyExcelSpinnerDataSupplier, ApplicationContextAware {

    private ApplicationContext applicationContext;

    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        this.applicationContext = applicationContext;
    }
}
